package com.winit.projectPlan.web;

import java.io.Serializable;

public class MemberTaskInfo implements Serializable{
    private String account;
    private String name;
    private String role;
    private String newTask = "0";
    private String doingTask = "0";
    private String downTask = "0";
    private String delayedTask = "0";
    private String totalTask = "0";


    public void addNewTask(int num){
        newTask = newTask == null ? num + "" : (Integer.parseInt(newTask) + num) + "";
    }
    public void addDoingTask(int num){
        doingTask = doingTask == null ? num + "" : (Integer.parseInt(doingTask) + num) + "";
    }
    public void addDownTask(int num){
        downTask = downTask == null ? num + "" : (Integer.parseInt(downTask) + num) + "";
    }
    public void addDelayedTask(int num){
        delayedTask = delayedTask == null ? num + "" : (Integer.parseInt(delayedTask) + num) + "";
    }
    public void addTotalTask(int num){
        totalTask = totalTask == null ? num + "" : (Integer.parseInt(totalTask) + num) + "";
    }


    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getNewTask() {
        return newTask;
    }

    public void setNewTask(String newTask) {
        this.newTask = newTask;
    }

    public String getDoingTask() {
        return doingTask;
    }

    public void setDoingTask(String doingTask) {
        this.doingTask = doingTask;
    }

    public String getDownTask() {
        return downTask;
    }

    public void setDownTask(String downTask) {
        this.downTask = downTask;
    }

    public String getDelayedTask() {
        return delayedTask;
    }

    public void setDelayedTask(String delayedTask) {
        this.delayedTask = delayedTask;
    }

    public String getTotalTask() {
        return totalTask;
    }

    public void setTotalTask(String totalTask) {
        this.totalTask = totalTask;
    }
}
